//
//  BAViewController+Navi.m
//  BabyAlbum
//
//  Created by master on 17/2/21.
//  Copyright © 2017年 master. All rights reserved.
//

#import "BAViewController+Navi.h"

@implementation UIViewController (Navi)

- (BANavigationController *)customNaviController {
//    if([self.navigationController isKindOfClass:[UINavigationController class]]) {
        BANavigationController *navi = (BANavigationController *)self.navigationController;
        return navi;
//    }
    
}


/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
